home *** CD-ROM | disk | FTP | other *** search
/ Tripas 6 / TRIPAS 006.iso / UT.EXE / UNREAL T / System / BotPack.u / Bot_TranslocatorTarget_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-30  |  8.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 49 80 01 2f 2f 3d 3d 3d |........|I..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 54 |========|==..// T|
|00000060| 72 61 6e 73 6c 6f 63 61 | 74 6f 72 54 61 72 67 65 |ransloca|torTarge|
|00000070| 74 2e 0d 0a 2f 2f 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |t...//==|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 0d 0a 63 6c 61 | 73 73 20 54 72 61 6e 73 |===..cla|ss Trans|
|000000d0| 6c 6f 63 61 74 6f 72 54 | 61 72 67 65 74 20 65 78 |locatorT|arget ex|
|000000e0| 74 65 6e 64 73 20 50 72 | 6f 6a 65 63 74 69 6c 65 |tends Pr|ojectile|
|000000f0| 3b 0d 0a 0d 0a 23 65 78 | 65 63 20 4d 45 53 48 20 |;....#ex|ec MESH |
|00000100| 20 49 4d 50 4f 52 54 20 | 4d 45 53 48 3d 4d 6f 64 | IMPORT |MESH=Mod|
|00000110| 75 6c 65 20 41 4e 49 56 | 46 49 4c 45 3d 4d 4f 44 |ule ANIV|FILE=MOD|
|00000120| 45 4c 53 5c 54 72 61 6e | 73 6f 62 6a 5f 61 2e 33 |ELS\Tran|sobj_a.3|
|00000130| 44 20 44 41 54 41 46 49 | 4c 45 3d 4d 4f 44 45 4c |D DATAFI|LE=MODEL|
|00000140| 53 5c 54 72 61 6e 73 6f | 62 6a 5f 64 2e 33 44 20 |S\Transo|bj_d.3D |
|00000150| 58 3d 30 20 59 3d 30 20 | 5a 3d 30 20 55 4e 4d 49 |X=0 Y=0 |Z=0 UNMI|
|00000160| 52 52 4f 52 3d 31 0d 0a | 23 65 78 65 63 20 4d 45 |RROR=1..|#exec ME|
|00000170| 53 48 20 4f 52 49 47 49 | 4e 20 4d 45 53 48 3d 4d |SH ORIGI|N MESH=M|
|00000180| 6f 64 75 6c 65 20 58 3d | 30 20 59 3d 30 20 5a 3d |odule X=|0 Y=0 Z=|
|00000190| 2d 31 35 30 20 59 41 57 | 3d 30 20 50 49 54 43 48 |-150 YAW|=0 PITCH|
|000001a0| 3d 30 20 52 4f 4c 4c 3d | 30 0d 0a 23 65 78 65 63 |=0 ROLL=|0..#exec|
|000001b0| 20 4d 45 53 48 20 53 45 | 51 55 45 4e 43 45 20 4d | MESH SE|QUENCE M|
|000001c0| 45 53 48 3d 4d 6f 64 75 | 6c 65 20 53 45 51 3d 41 |ESH=Modu|le SEQ=A|
|000001d0| 6c 6c 09 09 53 54 41 52 | 54 46 52 41 4d 45 3d 30 |ll..STAR|TFRAME=0|
|000001e0| 20 20 4e 55 4d 46 52 41 | 4d 45 53 3d 33 0d 0a 23 | NUMFRA|MES=3..#|
|000001f0| 65 78 65 63 20 4d 45 53 | 48 20 53 45 51 55 45 4e |exec MES|H SEQUEN|
|00000200| 43 45 20 4d 45 53 48 3d | 4d 6f 64 75 6c 65 20 53 |CE MESH=|Module S|
|00000210| 45 51 3d 4f 70 65 6e 09 | 53 54 41 52 54 46 52 41 |EQ=Open.|STARTFRA|
|00000220| 4d 45 3d 30 20 20 4e 55 | 4d 46 52 41 4d 45 53 3d |ME=0 NU|MFRAMES=|
|00000230| 33 0d 0a 23 65 78 65 63 | 20 54 45 58 54 55 52 45 |3..#exec| TEXTURE|
|00000240| 20 49 4d 50 4f 52 54 20 | 4e 41 4d 45 3d 74 6c 6f | IMPORT |NAME=tlo|
|00000250| 63 32 20 46 49 4c 45 3d | 4d 4f 44 45 4c 53 5c 74 |c2 FILE=|MODELS\t|
|00000260| 72 61 6e 32 2e 50 43 58 | 20 47 52 4f 55 50 3d 22 |ran2.PCX| GROUP="|
|00000270| 53 6b 69 6e 73 22 20 4c | 4f 44 53 45 54 3d 32 0d |Skins" L|ODSET=2.|
|00000280| 0a 23 65 78 65 63 20 4d | 45 53 48 4d 41 50 20 53 |.#exec M|ESHMAP S|
|00000290| 43 41 4c 45 20 4d 45 53 | 48 4d 41 50 3d 4d 6f 64 |CALE MES|HMAP=Mod|
|000002a0| 75 6c 65 20 58 3d 30 2e | 30 32 38 20 59 3d 30 2e |ule X=0.|028 Y=0.|
|000002b0| 30 32 38 20 5a 3d 30 2e | 30 35 36 0d 0a 23 65 78 |028 Z=0.|056..#ex|
|000002c0| 65 63 20 4d 45 53 48 4d | 41 50 20 53 45 54 54 45 |ec MESHM|AP SETTE|
|000002d0| 58 54 55 52 45 20 4d 45 | 53 48 4d 41 50 3d 4d 6f |XTURE ME|SHMAP=Mo|
|000002e0| 64 75 6c 65 20 4e 55 4d | 3d 31 20 54 45 58 54 55 |dule NUM|=1 TEXTU|
|000002f0| 52 45 3d 74 6c 6f 63 32 | 0d 0a 0d 0a 23 65 78 65 |RE=tloc2|....#exe|
|00000300| 63 20 41 55 44 49 4f 20 | 49 4d 50 4f 52 54 20 46 |c AUDIO |IMPORT F|
|00000310| 49 4c 45 3d 22 2e 2e 5c | 75 6e 72 65 61 6c 69 5c |ILE="..\|unreali\|
|00000320| 53 6f 75 6e 64 73 5c 4b | 72 61 6c 6c 5c 6b 72 61 |Sounds\K|rall\kra|
|00000330| 73 68 74 32 2e 77 61 76 | 22 20 4e 41 4d 45 3d 22 |sht2.wav|" NAME="|
|00000340| 54 44 69 73 72 75 70 74 | 22 20 47 52 4f 55 50 3d |TDisrupt|" GROUP=|
|00000350| 22 74 72 61 6e 73 6c 6f | 63 61 74 6f 72 22 0d 0a |"translo|cator"..|
|00000360| 23 65 78 65 63 20 41 55 | 44 49 4f 20 49 4d 50 4f |#exec AU|DIO IMPO|
|00000370| 52 54 20 46 49 4c 45 3d | 22 53 6f 75 6e 64 73 5c |RT FILE=|"Sounds\|
|00000380| 50 69 63 6b 75 70 73 5c | 61 6d 62 68 75 6d 33 2e |Pickups\|ambhum3.|
|00000390| 77 61 76 22 20 4e 41 4d | 45 3d 22 74 61 72 67 65 |wav" NAM|E="targe|
|000003a0| 74 68 75 6d 22 20 47 52 | 4f 55 50 3d 22 74 72 61 |thum" GR|OUP="tra|
|000003b0| 6e 73 6c 6f 63 61 74 6f | 72 22 0d 0a 0d 0a 76 61 |nslocato|r"....va|
|000003c0| 72 20 66 6c 6f 61 74 20 | 44 69 73 72 75 70 74 69 |r float |Disrupti|
|000003d0| 6f 6e 2c 20 53 70 61 77 | 6e 54 69 6d 65 3b 0d 0a |on, Spaw|nTime;..|
|000003e0| 76 61 72 28 29 20 66 6c | 6f 61 74 20 44 69 73 72 |var() fl|oat Disr|
|000003f0| 75 70 74 69 6f 6e 54 68 | 72 65 73 68 6f 6c 64 3b |uptionTh|reshold;|
|00000400| 0d 0a 76 61 72 20 70 61 | 77 6e 20 44 69 73 72 75 |..var pa|wn Disru|
|00000410| 70 74 6f 72 3b 0d 0a 76 | 61 72 20 74 72 61 6e 73 |ptor;..v|ar trans|
|00000420| 6c 6f 63 61 74 6f 72 20 | 4d 61 73 74 65 72 3b 0d |locator |Master;.|
|00000430| 0a 76 61 72 20 41 63 74 | 6f 72 20 44 65 73 69 72 |.var Act|or Desir|
|00000440| 65 64 54 61 72 67 65 74 | 3b 0d 0a 76 61 72 20 62 |edTarget|;..var b|
|00000450| 6f 6f 6c 20 62 41 6c 72 | 65 61 64 79 48 69 74 2c |ool bAlr|eadyHit,|
|00000460| 20 62 54 65 6d 70 44 61 | 6d 61 67 65 3b 0d 0a 76 | bTempDa|mage;..v|
|00000470| 61 72 20 76 65 63 74 6f | 72 20 52 65 61 6c 4c 6f |ar vecto|r RealLo|
|00000480| 63 61 74 69 6f 6e 3b 0d | 0a 76 61 72 20 54 72 61 |cation;.|.var Tra|
|00000490| 6e 73 6c 6f 63 47 6c 6f | 77 20 47 6c 6f 77 3b 0d |nslocGlo|w Glow;.|
|000004a0| 0a 76 61 72 20 63 6c 61 | 73 73 3c 54 72 61 6e 73 |.var cla|ss<Trans|
|000004b0| 6c 6f 63 47 6c 6f 77 3e | 20 47 6c 6f 77 43 6f 6c |locGlow>| GlowCol|
|000004c0| 6f 72 5b 34 5d 3b 0d 0a | 76 61 72 20 44 65 63 61 |or[4];..|var Deca|
|000004d0| 6c 20 53 68 61 64 6f 77 | 3b 0d 0a 0d 0a 52 65 70 |l Shadow|;....Rep|
|000004e0| 6c 69 63 61 74 69 6f 6e | 0d 0a 7b 0d 0a 09 55 6e |lication|..{...Un|
|000004f0| 52 65 6c 69 61 62 6c 65 | 20 69 66 20 28 20 52 6f |Reliable| if ( Ro|
|00000500| 6c 65 20 3d 3d 20 52 4f | 4c 45 5f 41 75 74 68 6f |le == RO|LE_Autho|
|00000510| 72 69 74 79 20 29 0d 0a | 09 09 52 65 61 6c 4c 6f |rity )..|..RealLo|
|00000520| 63 61 74 69 6f 6e 2c 20 | 47 6c 6f 77 3b 0d 0a 7d |cation, |Glow;..}|
|00000530| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|00000540| 6e 63 74 69 6f 6e 20 44 | 65 73 74 72 6f 79 65 64 |nction D|estroyed|
|00000550| 28 29 0d 0a 7b 0d 0a 09 | 69 66 20 28 20 53 68 61 |()..{...|if ( Sha|
|00000560| 64 6f 77 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |dow != N|one )...|
|00000570| 09 53 68 61 64 6f 77 2e | 44 65 73 74 72 6f 79 28 |.Shadow.|Destroy(|
|00000580| 29 3b 0d 0a 09 69 66 20 | 28 20 47 6c 6f 77 20 21 |);...if |( Glow !|
|00000590| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 47 6c 6f 77 |= None )|....Glow|
|000005a0| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 53 75 |.Destroy|();...Su|
|000005b0| 70 65 72 2e 44 65 73 74 | 72 6f 79 65 64 28 29 3b |per.Dest|royed();|
|000005c0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000005d0| 62 6f 6f 6c 20 44 69 73 | 72 75 70 74 65 64 28 29 |bool Dis|rupted()|
|000005e0| 0d 0a 7b 0d 0a 09 72 65 | 74 75 72 6e 20 28 20 44 |..{...re|turn ( D|
|000005f0| 69 73 72 75 70 74 69 6f | 6e 20 3e 20 44 69 73 72 |isruptio|n > Disr|
|00000600| 75 70 74 69 6f 6e 54 68 | 72 65 73 68 6f 6c 64 20 |uptionTh|reshold |
|00000610| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00000620| 6e 20 44 72 6f 70 46 72 | 6f 6d 28 76 65 63 74 6f |n DropFr|om(vecto|
|00000630| 72 20 53 74 61 72 74 4c | 6f 63 61 74 69 6f 6e 29 |r StartL|ocation)|
|00000640| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 21 53 65 74 4c |..{...if| ( !SetL|
|00000650| 6f 63 61 74 69 6f 6e 28 | 53 74 61 72 74 4c 6f 63 |ocation(|StartLoc|
|00000660| 61 74 69 6f 6e 29 20 29 | 0d 0a 09 09 72 65 74 75 |ation) )|....retu|
|00000670| 72 6e 3b 20 0d 0a 0d 0a | 09 53 65 74 50 68 79 73 |rn; ....|.SetPhys|
|00000680| 69 63 73 28 50 48 59 53 | 5f 46 61 6c 6c 69 6e 67 |ics(PHYS|_Falling|
|00000690| 29 3b 0d 0a 09 47 6f 74 | 6f 53 74 61 74 65 28 27 |);...Got|oState('|
|000006a0| 50 69 63 6b 55 70 27 29 | 3b 0d 0a 7d 0d 0a 0d 0a |PickUp')|;..}....|
|000006b0| 73 69 6d 75 6c 61 74 65 | 64 20 73 69 6e 67 75 6c |simulate|d singul|
|000006c0| 61 72 20 66 75 6e 63 74 | 69 6f 6e 20 5a 6f 6e 65 |ar funct|ion Zone|
|000006d0| 43 68 61 6e 67 65 28 20 | 5a 6f 6e 65 49 6e 66 6f |Change( |ZoneInfo|
|000006e0| 20 4e 65 77 5a 6f 6e 65 | 20 29 0d 0a 7b 0d 0a 09 | NewZone| )..{...|
|000006f0| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 73 70 6c 61 |local fl|oat spla|
|00000700| 73 68 73 69 7a 65 3b 0d | 0a 09 6c 6f 63 61 6c 20 |shsize;.|..local |
|00000710| 61 63 74 6f 72 20 73 70 | 6c 61 73 68 3b 0d 0a 0d |actor sp|lash;...|
|00000720| 0a 09 69 66 28 20 4e 65 | 77 5a 6f 6e 65 2e 62 57 |..if( Ne|wZone.bW|
|00000730| 61 74 65 72 5a 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a |aterZone| )...{..|
|00000740| 09 09 69 66 28 20 21 52 | 65 67 69 6f 6e 2e 5a 6f |..if( !R|egion.Zo|
|00000750| 6e 65 2e 62 57 61 74 65 | 72 5a 6f 6e 65 20 26 26 |ne.bWate|rZone &&|
|00000760| 20 28 56 65 6c 6f 63 69 | 74 79 2e 5a 20 3c 20 2d | (Veloci|ty.Z < -|
|00000770| 32 30 30 29 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |200) )..|..{.....|
|00000780| 2f 2f 20 45 6c 73 65 20 | 70 6c 61 79 20 61 20 73 |// Else |play a s|
|00000790| 70 6c 61 73 68 2e 0d 0a | 09 09 09 73 70 6c 61 73 |plash...|...splas|
|000007a0| 68 53 69 7a 65 20 3d 20 | 46 43 6c 61 6d 70 28 30 |hSize = |FClamp(0|
|000007b0| 2e 30 30 30 31 20 2a 20 | 4d 61 73 73 20 2a 20 28 |.0001 * |Mass * (|
|000007c0| 32 35 30 20 2d 20 30 2e | 35 20 2a 20 46 4d 61 78 |250 - 0.|5 * FMax|
|000007d0| 28 2d 36 30 30 2c 56 65 | 6c 6f 63 69 74 79 2e 5a |(-600,Ve|locity.Z|
|000007e0| 29 29 2c 20 31 2e 30 2c | 20 33 2e 30 20 29 3b 0d |)), 1.0,| 3.0 );.|
|000007f0| 0a 09 09 09 69 66 28 20 | 4e 65 77 5a 6f 6e 65 2e |....if( |NewZone.|
|00000800| 45 6e 74 72 79 53 6f 75 | 6e 64 20 21 3d 20 4e 6f |EntrySou|nd != No|
|00000810| 6e 65 20 29 0d 0a 09 09 | 09 09 50 6c 61 79 53 6f |ne )....|..PlaySo|
|00000820| 75 6e 64 28 4e 65 77 5a | 6f 6e 65 2e 45 6e 74 72 |und(NewZ|one.Entr|
|00000830| 79 53 6f 75 6e 64 2c 20 | 53 4c 4f 54 5f 49 6e 74 |ySound, |SLOT_Int|
|00000840| 65 72 61 63 74 2c 20 73 | 70 6c 61 73 68 53 69 7a |eract, s|plashSiz|
|00000850| 65 29 3b 0d 0a 09 09 09 | 69 66 28 20 4e 65 77 5a |e);.....|if( NewZ|
|00000860| 6f 6e 65 2e 45 6e 74 72 | 79 41 63 74 6f 72 20 21 |one.Entr|yActor !|
|00000870| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 7b 0d 0a |= None )|.....{..|
|00000880| 09 09 09 09 73 70 6c 61 | 73 68 20 3d 20 53 70 61 |....spla|sh = Spa|
|00000890| 77 6e 28 4e 65 77 5a 6f | 6e 65 2e 45 6e 74 72 79 |wn(NewZo|ne.Entry|
|000008a0| 41 63 74 6f 72 29 3b 20 | 0d 0a 09 09 09 09 69 66 |Actor); |......if|
|000008b0| 20 28 20 73 70 6c 61 73 | 68 20 21 3d 20 4e 6f 6e | ( splas|h != Non|
|000008c0| 65 20 29 0d 0a 09 09 09 | 09 7b 0d 0a 09 09 09 09 |e ).....|.{......|
|000008d0| 09 73 70 6c 61 73 68 2e | 44 72 61 77 53 63 61 6c |.splash.|DrawScal|
|000008e0| 65 20 3d 20 73 70 6c 61 | 73 68 53 69 7a 65 3b 0d |e = spla|shSize;.|
|000008f0| 0a 09 09 09 09 09 73 70 | 6c 61 73 68 2e 52 65 6d |......sp|lash.Rem|
|00000900| 6f 74 65 52 6f 6c 65 20 | 3d 20 52 4f 4c 45 5f 4e |oteRole |= ROLE_N|
|00000910| 6f 6e 65 3b 0d 0a 09 09 | 09 09 7d 0d 0a 09 09 09 |one;....|..}.....|
|00000920| 7d 0d 0a 09 09 7d 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d |}....}..|.}..}...|
|00000930| 0a 66 75 6e 63 74 69 6f | 6e 20 54 68 72 6f 77 28 |.functio|n Throw(|
|00000940| 50 61 77 6e 20 54 68 72 | 6f 77 65 72 2c 20 66 6c |Pawn Thr|ower, fl|
|00000950| 6f 61 74 20 66 6f 72 63 | 65 2c 20 76 65 63 74 6f |oat forc|e, vecto|
|00000960| 72 20 53 74 61 72 74 50 | 6f 73 69 74 69 6f 6e 29 |r StartP|osition)|
|00000970| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 76 65 63 74 |..{...lo|cal vect|
|00000980| 6f 72 20 64 69 72 3b 0d | 0a 0d 0a 09 64 69 72 20 |or dir;.|....dir |
|00000990| 3d 20 76 65 63 74 6f 72 | 28 54 68 72 6f 77 65 72 |= vector|(Thrower|
|000009a0| 2e 56 69 65 77 52 6f 74 | 61 74 69 6f 6e 29 3b 0d |.ViewRot|ation);.|
|000009b0| 0a 09 69 66 20 28 20 54 | 68 72 6f 77 65 72 2e 49 |..if ( T|hrower.I|
|000009c0| 73 41 28 27 42 6f 74 27 | 29 20 29 0d 0a 09 09 56 |sA('Bot'|) )....V|
|000009d0| 65 6c 6f 63 69 74 79 20 | 3d 20 66 6f 72 63 65 20 |elocity |= force |
|000009e0| 2a 20 64 69 72 20 2b 20 | 76 65 63 74 28 30 2c 30 |* dir + |vect(0,0|
|000009f0| 2c 32 30 30 29 3b 0d 0a | 09 65 6c 73 65 0d 0a 09 |,200);..|.else...|
|00000a00| 7b 0d 0a 09 09 64 69 72 | 2e 5a 20 3d 20 64 69 72 |{....dir|.Z = dir|
|00000a10| 2e 5a 20 2b 20 30 2e 33 | 35 20 2a 20 28 31 20 2d |.Z + 0.3|5 * (1 -|
|00000a20| 20 41 62 73 28 64 69 72 | 2e 5a 29 29 3b 0d 0a 09 | Abs(dir|.Z));...|
|00000a30| 09 56 65 6c 6f 63 69 74 | 79 20 3d 20 46 4d 69 6e |.Velocit|y = FMin|
|00000a40| 28 66 6f 72 63 65 2c 20 | 20 4d 61 73 74 65 72 2e |(force, | Master.|
|00000a50| 4d 61 78 54 6f 73 73 46 | 6f 72 63 65 29 20 2a 20 |MaxTossF|orce) * |
|00000a60| 4e 6f 72 6d 61 6c 28 64 | 69 72 29 3b 0d 0a 09 7d |Normal(d|ir);...}|
|00000a70| 0d 0a 09 62 42 6f 75 6e | 63 65 20 3d 20 74 72 75 |...bBoun|ce = tru|
|00000a80| 65 3b 0d 0a 09 44 72 6f | 70 46 72 6f 6d 28 53 74 |e;...Dro|pFrom(St|
|00000a90| 61 72 74 50 6f 73 69 74 | 69 6f 6e 29 3b 0d 0a 7d |artPosit|ion);..}|
|00000aa0| 0d 0a 0d 0a 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |....////|////////|
|00000ab0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000ac0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000ad0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 0d 0a 61 75 |////////|////..au|
|00000ae0| 74 6f 20 73 74 61 74 65 | 20 50 69 63 6b 75 70 0d |to state| Pickup.|
|00000af0| 0a 7b 0d 0a 09 73 69 6d | 75 6c 61 74 65 64 20 66 |.{...sim|ulated f|
|00000b00| 75 6e 63 74 69 6f 6e 20 | 54 69 6d 65 72 28 29 0d |unction |Timer().|
|00000b10| 0a 09 7b 0d 0a 09 09 6c | 6f 63 61 6c 20 50 61 77 |..{....l|ocal Paw|
|00000b20| 6e 20 50 3b 0d 0a 0d 0a | 09 09 69 66 20 28 20 28 |n P;....|..if ( (|
|00000b30| 50 68 79 73 69 63 73 20 | 3d 3d 20 50 48 59 53 5f |Physics |== PHYS_|
|00000b40| 4e 6f 6e 65 29 20 26 26 | 20 28 52 6f 6c 65 20 21 |None) &&| (Role !|
|00000b50| 3d 20 52 4f 4c 45 5f 41 | 75 74 68 6f 72 69 74 79 |= ROLE_A|uthority|
|00000b60| 29 0d 0a 09 09 09 26 26 | 20 28 52 65 61 6c 4c 6f |).....&&| (RealLo|
|00000b70| 63 61 74 69 6f 6e 20 21 | 3d 20 4c 6f 63 61 74 69 |cation !|= Locati|
|00000b80| 6f 6e 29 20 26 26 20 28 | 52 65 61 6c 4c 6f 63 61 |on) && (|RealLoca|
|00000b90| 74 69 6f 6e 20 21 3d 20 | 76 65 63 74 28 30 2c 30 |tion != |vect(0,0|
|00000ba0| 2c 30 29 29 20 29 0d 0a | 09 09 09 09 53 65 74 4c |,0)) )..|....SetL|
|00000bb0| 6f 63 61 74 69 6f 6e 28 | 52 65 61 6c 4c 6f 63 61 |ocation(|RealLoca|
|00000bc0| 74 69 6f 6e 29 3b 0d 0a | 0d 0a 09 09 2f 2f 64 69 |tion);..|....//di|
|00000bd0| 73 72 75 70 74 69 6f 6e | 20 65 66 66 65 63 74 0d |sruption| effect.|
|00000be0| 0a 09 09 69 66 20 28 20 | 44 69 73 72 75 70 74 65 |...if ( |Disrupte|
|00000bf0| 64 28 29 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 53 |d() )...|.{.....S|
|00000c00| 70 61 77 6e 28 63 6c 61 | 73 73 27 45 6c 65 63 74 |pawn(cla|ss'Elect|
|00000c10| 72 69 63 69 74 79 27 2c | 2c 2c 4c 6f 63 61 74 69 |ricity',|,,Locati|
|00000c20| 6f 6e 20 2b 20 56 65 63 | 74 28 30 2c 30 2c 36 29 |on + Vec|t(0,0,6)|
|00000c30| 29 3b 0d 0a 09 09 09 50 | 6c 61 79 53 6f 75 6e 64 |);.....P|laySound|
|00000c40| 28 73 6f 75 6e 64 27 54 | 44 69 73 72 75 70 74 27 |(sound'T|Disrupt'|
|00000c50| 2c 20 53 4c 4f 54 5f 4e | 6f 6e 65 2c 20 34 2e 30 |, SLOT_N|one, 4.0|
|00000c60| 29 3b 0d 0a 09 09 7d 0d | 0a 09 09 65 6c 73 65 0d |);....}.|...else.|
|00000c70| 0a 09 09 7b 0d 0a 09 09 | 09 2f 2f 20 74 65 6c 6c |...{....|.// tell|
|00000c80| 20 6c 6f 63 61 6c 20 62 | 6f 74 73 20 61 62 6f 75 | local b|ots abou|
|00000c90| 74 20 73 65 6c 66 0d 0a | 09 09 09 66 6f 72 20 28 |t self..|...for (|
|00000ca0| 20 50 3d 4c 65 76 65 6c | 2e 50 61 77 6e 4c 69 73 | P=Level|.PawnLis|
|00000cb0| 74 3b 20 50 21 3d 4e 6f | 6e 65 3b 20 50 3d 50 2e |t; P!=No|ne; P=P.|
|00000cc0| 4e 65 78 74 50 61 77 6e | 20 29 0d 0a 09 09 09 09 |NextPawn| )......|
|00000cd0| 69 66 20 28 20 50 2e 49 | 73 41 28 27 42 6f 74 27 |if ( P.I|sA('Bot'|
|00000ce0| 29 20 26 26 20 28 50 2e | 57 65 61 70 6f 6e 20 21 |) && (P.|Weapon !|
|00000cf0| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 21 50 2e 57 65 |= None) |&& !P.We|
|00000d00| 61 70 6f 6e 2e 62 4d 65 | 6c 65 65 57 65 61 70 6f |apon.bMe|leeWeapo|
|00000d10| 6e 0d 0a 09 09 09 09 09 | 26 26 20 28 21 4c 65 76 |n.......|&& (!Lev|
|00000d20| 65 6c 2e 47 61 6d 65 2e | 62 54 65 61 6d 47 61 6d |el.Game.|bTeamGam|
|00000d30| 65 20 7c 7c 20 28 50 2e | 50 6c 61 79 65 72 52 65 |e || (P.|PlayerRe|
|00000d40| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 54 65 |plicatio|nInfo.Te|
|00000d50| 61 6d 20 21 3d 20 50 61 | 77 6e 28 4d 61 73 74 65 |am != Pa|wn(Maste|
|00000d60| 72 2e 4f 77 6e 65 72 29 | 2e 50 6c 61 79 65 72 52 |r.Owner)|.PlayerR|
|00000d70| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 54 |eplicati|onInfo.T|
|00000d80| 65 61 6d 29 29 20 29 0d | 0a 09 09 09 09 7b 0d 0a |eam)) ).|.....{..|
|00000d90| 09 09 09 09 09 69 66 20 | 28 20 28 56 53 69 7a 65 |.....if |( (VSize|
|00000da0| 28 50 2e 4c 6f 63 61 74 | 69 6f 6e 20 2d 20 4c 6f |(P.Locat|ion - Lo|
|00000db0| 63 61 74 69 6f 6e 29 20 | 3c 20 35 30 30 29 20 26 |cation) |< 500) &|
|00000dc0| 26 20 50 2e 4c 69 6e 65 | 4f 66 53 69 67 68 74 54 |& P.Line|OfSightT|
|00000dd0| 6f 28 73 65 6c 66 29 20 | 29 0d 0a 09 09 09 09 09 |o(self) |).......|
|00000de0| 7b 0d 0a 09 09 09 09 09 | 09 42 6f 74 28 50 29 2e |{.......|.Bot(P).|
|00000df0| 53 68 6f 6f 74 54 61 72 | 67 65 74 28 73 65 6c 66 |ShootTar|get(self|
|00000e00| 29 3b 0d 0a 09 09 09 09 | 09 09 62 72 65 61 6b 3b |);......|..break;|
|00000e10| 0d 0a 09 09 09 09 09 7d | 0d 0a 09 09 09 09 09 65 |.......}|.......e|
|00000e20| 6c 73 65 20 69 66 20 28 | 20 50 2e 49 73 49 6e 53 |lse if (| P.IsInS|
|00000e30| 74 61 74 65 28 27 52 6f | 61 6d 69 6e 67 27 29 20 |tate('Ro|aming') |
|00000e40| 26 26 20 42 6f 74 28 50 | 29 2e 62 43 61 6d 70 69 |&& Bot(P|).bCampi|
|00000e50| 6e 67 0d 0a 09 09 09 09 | 09 09 09 09 26 26 20 4c |ng......|....&& L|
|00000e60| 65 76 65 6c 2e 47 61 6d | 65 2e 49 73 41 28 27 44 |evel.Gam|e.IsA('D|
|00000e70| 65 61 74 68 4d 61 74 63 | 68 50 6c 75 73 27 29 20 |eathMatc|hPlus') |
|00000e80| 26 26 20 44 65 61 74 68 | 4d 61 74 63 68 50 6c 75 |&& Death|MatchPlu|
|00000e90| 73 28 4c 65 76 65 6c 2e | 47 61 6d 65 29 2e 43 68 |s(Level.|Game).Ch|
|00000ea0| 65 63 6b 54 68 69 73 54 | 72 61 6e 73 6c 6f 63 61 |eckThisT|ransloca|
|00000eb0| 74 6f 72 28 42 6f 74 28 | 50 29 2c 20 73 65 6c 66 |tor(Bot(|P), self|
|00000ec0| 29 20 29 0d 0a 09 09 09 | 09 09 7b 0d 0a 09 09 09 |) ).....|..{.....|
|00000ed0| 09 09 09 42 6f 74 28 50 | 29 2e 53 65 74 50 65 72 |...Bot(P|).SetPer|
|00000ee0| 69 70 68 65 72 61 6c 56 | 69 73 69 6f 6e 28 29 3b |ipheralV|ision();|
|00000ef0| 0d 0a 09 09 09 09 09 09 | 42 6f 74 28 50 29 2e 54 |........|Bot(P).T|
|00000f00| 77 65 65 6e 54 6f 52 75 | 6e 6e 69 6e 67 28 30 2e |weenToRu|nning(0.|
|00000f10| 31 29 3b 0d 0a 09 09 09 | 09 09 09 42 6f 74 28 50 |1);.....|...Bot(P|
|00000f20| 29 2e 62 43 61 6d 70 69 | 6e 67 20 3d 20 66 61 6c |).bCampi|ng = fal|
|00000f30| 73 65 3b 0d 0a 09 09 09 | 09 09 09 42 6f 74 28 50 |se;.....|...Bot(P|
|00000f40| 29 2e 47 6f 74 6f 53 74 | 61 74 65 28 27 52 6f 61 |).GotoSt|ate('Roa|
|00000f50| 6d 69 6e 67 27 2c 20 27 | 53 70 65 63 69 61 6c 4e |ming', '|SpecialN|
|00000f60| 61 76 69 67 27 29 3b 0d | 0a 09 09 09 09 09 09 62 |avig');.|.......b|
|00000f70| 72 65 61 6b 3b 0d 0a 09 | 09 09 09 09 7d 0d 0a 09 |reak;...|....}...|
|00000f80| 09 09 09 7d 0d 0a 09 09 | 7d 0d 0a 09 09 41 6e 69 |...}....|}....Ani|
|00000f90| 6d 45 6e 64 28 29 3b 0d | 0a 09 09 53 65 74 54 69 |mEnd();.|...SetTi|
|00000fa0| 6d 65 72 28 31 20 2b 20 | 32 20 2a 20 46 52 61 6e |mer(1 + |2 * FRan|
|00000fb0| 64 28 29 2c 20 66 61 6c | 73 65 29 3b 0d 0a 09 7d |d(), fal|se);...}|
|00000fc0| 0d 0a 0d 0a 09 73 69 6d | 75 6c 61 74 65 64 20 65 |.....sim|ulated e|
|00000fd0| 76 65 6e 74 20 4c 61 6e | 64 65 64 28 20 76 65 63 |vent Lan|ded( vec|
|00000fe0| 74 6f 72 20 48 69 74 4e | 6f 72 6d 61 6c 20 29 0d |tor HitN|ormal ).|
|00000ff0| 0a 09 7b 0d 0a 09 09 6c | 6f 63 61 6c 20 72 6f 74 |..{....l|ocal rot|
|00001000| 61 74 6f 72 20 6e 65 77 | 52 6f 74 3b 0d 0a 0d 0a |ator new|Rot;....|
|00001010| 09 09 53 65 74 54 69 6d | 65 72 28 32 2e 35 2c 20 |..SetTim|er(2.5, |
|00001020| 66 61 6c 73 65 29 3b 0d | 0a 09 09 6e 65 77 52 6f |false);.|...newRo|
|00001030| 74 20 3d 20 52 6f 74 61 | 74 69 6f 6e 3b 0d 0a 09 |t = Rota|tion;...|
|00001040| 09 6e 65 77 52 6f 74 2e | 50 69 74 63 68 20 3d 20 |.newRot.|Pitch = |
|00001050| 30 3b 0d 0a 09 09 6e 65 | 77 52 6f 74 2e 52 6f 6c |0;....ne|wRot.Rol|
|00001060| 6c 20 3d 20 30 3b 0d 0a | 09 09 53 65 74 52 6f 74 |l = 0;..|..SetRot|
|00001070| 61 74 69 6f 6e 28 6e 65 | 77 52 6f 74 29 3b 0d 0a |ation(ne|wRot);..|
|00001080| 09 09 50 6c 61 79 41 6e | 69 6d 28 27 4f 70 65 6e |..PlayAn|im('Open|
|00001090| 27 2c 30 2e 31 29 3b 0d | 0a 09 09 69 66 20 28 20 |',0.1);.|...if ( |
|000010a0| 52 6f 6c 65 20 3d 3d 20 | 52 4f 4c 45 5f 41 75 74 |Role == |ROLE_Aut|
|000010b0| 68 6f 72 69 74 79 20 29 | 0d 0a 09 09 7b 0d 0a 09 |hority )|....{...|
|000010c0| 09 09 52 65 6d 6f 74 65 | 52 6f 6c 65 20 3d 20 52 |..Remote|Role = R|
|000010d0| 4f 4c 45 5f 44 75 6d 62 | 50 72 6f 78 79 3b 0d 0a |OLE_Dumb|Proxy;..|
|000010e0| 09 09 09 52 65 61 6c 4c | 6f 63 61 74 69 6f 6e 20 |...RealL|ocation |
|000010f0| 3d 20 4c 6f 63 61 74 69 | 6f 6e 3b 0d 0a 09 09 09 |= Locati|on;.....|
|00001100| 69 66 20 28 20 4d 61 73 | 74 65 72 2e 4f 77 6e 65 |if ( Mas|ter.Owne|
|00001110| 72 2e 49 73 41 28 27 42 | 6f 74 27 29 20 29 0d 0a |r.IsA('B|ot') )..|
|00001120| 09 09 09 7b 0d 0a 09 09 | 09 09 69 66 20 28 20 50 |...{....|..if ( P|
|00001130| 61 77 6e 28 4d 61 73 74 | 65 72 2e 4f 77 6e 65 72 |awn(Mast|er.Owner|
|00001140| 29 2e 57 65 61 70 6f 6e | 20 3d 3d 20 4d 61 73 74 |).Weapon| == Mast|
|00001150| 65 72 20 29 0d 0a 09 09 | 09 09 09 42 6f 74 28 4d |er )....|...Bot(M|
|00001160| 61 73 74 65 72 2e 4f 77 | 6e 65 72 29 2e 53 77 69 |aster.Ow|ner).Swi|
|00001170| 74 63 68 54 6f 42 65 73 | 74 57 65 61 70 6f 6e 28 |tchToBes|tWeapon(|
|00001180| 29 3b 0d 0a 09 09 09 09 | 4c 69 66 65 53 70 61 6e |);......|LifeSpan|
|00001190| 20 3d 20 31 30 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 | = 10;..|...}....|
|000011a0| 09 44 69 73 61 62 6c 65 | 28 27 54 69 63 6b 27 29 |.Disable|('Tick')|
|000011b0| 3b 0d 0a 09 09 7d 0d 0a | 09 7d 09 09 0d 0a 0d 0a |;....}..|.}......|
|000011c0| 09 66 75 6e 63 74 69 6f | 6e 20 41 6e 69 6d 45 6e |.functio|n AnimEn|
|000011d0| 64 28 29 0d 0a 09 7b 0d | 0a 09 09 6c 6f 63 61 6c |d()...{.|...local|
|000011e0| 20 69 6e 74 20 67 6c 6f | 77 6e 75 6d 3b 0d 0a 0d | int glo|wnum;...|
|000011f0| 0a 09 09 69 66 20 28 20 | 28 50 68 79 73 69 63 73 |...if ( |(Physics|
|00001200| 20 21 3d 20 50 48 59 53 | 5f 4e 6f 6e 65 29 20 7c | != PHYS|_None) ||
|00001210| 7c 20 28 47 6c 6f 77 20 | 21 3d 20 4e 6f 6e 65 29 || (Glow |!= None)|
|00001220| 20 7c 7c 20 28 49 6e 73 | 74 69 67 61 74 6f 72 2e | || (Ins|tigator.|
|00001230| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00001240| 6e 49 6e 66 6f 20 3d 3d | 20 4e 6f 6e 65 29 20 7c |nInfo ==| None) ||
|00001250| 7c 20 44 69 73 72 75 70 | 74 65 64 28 29 20 29 0d || Disrup|ted() ).|
|00001260| 0a 09 09 09 72 65 74 75 | 72 6e 3b 0d 0a 0d 0a 09 |....retu|rn;.....|
|00001270| 09 67 6c 6f 77 6e 75 6d | 20 3d 20 49 6e 73 74 69 |.glownum| = Insti|
|00001280| 67 61 74 6f 72 2e 50 6c | 61 79 65 72 52 65 70 6c |gator.Pl|ayerRepl|
|00001290| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|000012a0| 3b 0d 0a 09 09 69 66 20 | 28 20 67 6c 6f 77 6e 75 |;....if |( glownu|
|000012b0| 6d 20 3e 20 33 20 29 0d | 0a 09 09 09 67 6c 6f 77 |m > 3 ).|....glow|
|000012c0| 6e 75 6d 20 3d 20 30 3b | 0d 0a 09 09 09 0d 0a 09 |num = 0;|........|
|000012d0| 09 47 6c 6f 77 20 3d 20 | 73 70 61 77 6e 28 47 6c |.Glow = |spawn(Gl|
|000012e0| 6f 77 43 6f 6c 6f 72 5b | 67 6c 6f 77 6e 75 6d 5d |owColor[|glownum]|
|000012f0| 2c 20 73 65 6c 66 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |, self);|...}....|
|00001300| 09 65 76 65 6e 74 20 54 | 61 6b 65 44 61 6d 61 67 |.event T|akeDamag|
|00001310| 65 28 20 69 6e 74 20 44 | 61 6d 61 67 65 2c 20 50 |e( int D|amage, P|
|00001320| 61 77 6e 20 45 76 65 6e | 74 49 6e 73 74 69 67 61 |awn Even|tInstiga|
|00001330| 74 6f 72 2c 20 76 65 63 | 74 6f 72 20 48 69 74 4c |tor, vec|tor HitL|
|00001340| 6f 63 61 74 69 6f 6e 2c | 20 76 65 63 74 6f 72 20 |ocation,| vector |
|00001350| 4d 6f 6d 65 6e 74 75 6d | 2c 20 6e 61 6d 65 20 44 |Momentum|, name D|
|00001360| 61 6d 61 67 65 54 79 70 | 65 29 0d 0a 09 7b 0d 0a |amageTyp|e)...{..|
|00001370| 09 09 53 65 74 50 68 79 | 73 69 63 73 28 50 48 59 |..SetPhy|sics(PHY|
|00001380| 53 5f 46 61 6c 6c 69 6e | 67 29 3b 0d 0a 09 09 56 |S_Fallin|g);....V|
|00001390| 65 6c 6f 63 69 74 79 20 | 3d 20 4d 6f 6d 65 6e 74 |elocity |= Moment|
|000013a0| 75 6d 2f 4d 61 73 73 3b | 0d 0a 09 09 56 65 6c 6f |um/Mass;|....Velo|
|000013b0| 63 69 74 79 2e 5a 20 3d | 20 46 4d 61 78 28 56 65 |city.Z =| FMax(Ve|
|000013c0| 6c 6f 63 69 74 79 2e 5a | 2c 20 30 2e 37 20 2a 20 |locity.Z|, 0.7 * |
|000013d0| 56 53 69 7a 65 28 56 65 | 6c 6f 63 69 74 79 29 29 |VSize(Ve|locity))|
|000013e0| 3b 0d 0a 0d 0a 09 09 69 | 66 20 28 20 4c 65 76 65 |;......i|f ( Leve|
|000013f0| 6c 2e 47 61 6d 65 2e 62 | 54 65 61 6d 47 61 6d 65 |l.Game.b|TeamGame|
|00001400| 20 26 26 20 28 45 76 65 | 6e 74 49 6e 73 74 69 67 | && (Eve|ntInstig|
|00001410| 61 74 6f 72 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |ator != |None)...|
|00001420| 09 09 26 26 20 28 45 76 | 65 6e 74 49 6e 73 74 69 |..&& (Ev|entInsti|
|00001430| 67 61 74 6f 72 2e 50 6c | 61 79 65 72 52 65 70 6c |gator.Pl|ayerRepl|
|00001440| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 21 3d 20 4e |icationI|nfo != N|
|00001450| 6f 6e 65 29 0d 0a 09 09 | 09 26 26 20 28 45 76 65 |one)....|.&& (Eve|
|00001460| 6e 74 49 6e 73 74 69 67 | 61 74 6f 72 2e 50 6c 61 |ntInstig|ator.Pla|
|00001470| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001480| 66 6f 2e 54 65 61 6d 20 | 3d 3d 20 49 6e 73 74 69 |fo.Team |== Insti|
|00001490| 67 61 74 6f 72 2e 50 6c | 61 79 65 72 52 65 70 6c |gator.Pl|ayerRepl|
|000014a0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|000014b0| 29 20 29 0d 0a 09 09 09 | 72 65 74 75 72 6e 3b 0d |) ).....|return;.|
|000014c0| 0a 0d 0a 09 09 44 69 73 | 72 75 70 74 69 6f 6e 20 |.....Dis|ruption |
|000014d0| 2b 3d 20 44 61 6d 61 67 | 65 3b 0d 0a 09 09 44 69 |+= Damag|e;....Di|
|000014e0| 73 72 75 70 74 6f 72 20 | 3d 20 45 76 65 6e 74 49 |sruptor |= EventI|
|000014f0| 6e 73 74 69 67 61 74 6f | 72 3b 0d 0a 09 09 69 66 |nstigato|r;....if|
|00001500| 20 28 20 21 44 69 73 72 | 75 70 74 65 64 28 29 20 | ( !Disr|upted() |
|00001510| 29 0d 0a 09 09 09 53 65 | 74 54 69 6d 65 72 28 30 |).....Se|tTimer(0|
|00001520| 2e 33 2c 20 66 61 6c 73 | 65 29 3b 0d 0a 09 09 65 |.3, fals|e);....e|
|00001530| 6c 73 65 20 69 66 20 28 | 20 47 6c 6f 77 20 21 3d |lse if (| Glow !=|
|00001540| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 47 6c 6f 77 | None ).|....Glow|
|00001550| 2e 44 65 73 74 72 6f 79 | 28 29 3b 0d 0a 09 7d 0d |.Destroy|();...}.|
|00001560| 0a 0d 0a 09 73 69 6e 67 | 75 6c 61 72 20 66 75 6e |....sing|ular fun|
|00001570| 63 74 69 6f 6e 20 54 6f | 75 63 68 28 20 41 63 74 |ction To|uch( Act|
|00001580| 6f 72 20 4f 74 68 65 72 | 20 29 0d 0a 09 7b 0d 0a |or Other| )...{..|
|00001590| 09 09 6c 6f 63 61 6c 20 | 62 6f 6f 6c 20 62 4d 61 |..local |bool bMa|
|000015a0| 73 74 65 72 54 6f 75 63 | 68 3b 0d 0a 09 09 6c 6f |sterTouc|h;....lo|
|000015b0| 63 61 6c 20 76 65 63 74 | 6f 72 20 4e 65 77 50 6f |cal vect|or NewPo|
|000015c0| 73 3b 0d 0a 0d 0a 09 09 | 69 66 20 28 20 21 4f 74 |s;......|if ( !Ot|
|000015d0| 68 65 72 2e 62 49 73 50 | 61 77 6e 20 29 0d 0a 09 |her.bIsP|awn )...|
|000015e0| 09 7b 0d 0a 09 09 09 69 | 66 20 28 20 28 50 68 79 |.{.....i|f ( (Phy|
|000015f0| 73 69 63 73 20 3d 3d 20 | 50 48 59 53 5f 46 61 6c |sics == |PHYS_Fal|
|00001600| 6c 69 6e 67 29 20 26 26 | 20 21 4f 74 68 65 72 2e |ling) &&| !Other.|
|00001610| 49 73 41 28 27 49 6e 76 | 65 6e 74 6f 72 79 27 29 |IsA('Inv|entory')|
|00001620| 20 26 26 20 21 4f 74 68 | 65 72 2e 49 73 41 28 27 | && !Oth|er.IsA('|
|00001630| 54 72 69 67 67 65 72 73 | 27 29 20 26 26 20 21 4f |Triggers|') && !O|
|00001640| 74 68 65 72 2e 49 73 41 | 28 27 4e 61 76 69 67 61 |ther.IsA|('Naviga|
|00001650| 74 69 6f 6e 50 6f 69 6e | 74 27 29 20 29 0d 0a 09 |tionPoin|t') )...|
|00001660| 09 09 09 48 69 74 57 61 | 6c 6c 28 2d 31 20 2a 20 |...HitWa|ll(-1 * |
|00001670| 4e 6f 72 6d 61 6c 28 56 | 65 6c 6f 63 69 74 79 29 |Normal(V|elocity)|
|00001680| 2c 20 4f 74 68 65 72 29 | 3b 0d 0a 09 09 09 72 65 |, Other)|;.....re|
|00001690| 74 75 72 6e 3b 0d 0a 09 | 09 7d 0d 0a 09 09 62 4d |turn;...|.}....bM|
|000016a0| 61 73 74 65 72 54 6f 75 | 63 68 20 3d 20 28 20 4f |asterTou|ch = ( O|
|000016b0| 74 68 65 72 20 3d 3d 20 | 49 6e 73 74 69 67 61 74 |ther == |Instigat|
|000016c0| 6f 72 20 29 3b 0d 0a 09 | 09 0d 0a 09 09 69 66 20 |or );...|.....if |
|000016d0| 28 20 50 68 79 73 69 63 | 73 20 3d 3d 20 50 48 59 |( Physic|s == PHY|
|000016e0| 53 5f 4e 6f 6e 65 20 29 | 0d 0a 09 09 7b 0d 0a 09 |S_None )|....{...|
|000016f0| 09 09 69 66 20 28 20 62 | 4d 61 73 74 65 72 54 6f |..if ( b|MasterTo|
|00001700| 75 63 68 20 29 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 |uch )...|..{.....|
|00001710| 09 50 6c 61 79 53 6f 75 | 6e 64 28 53 6f 75 6e 64 |.PlaySou|nd(Sound|
|00001720| 27 42 6f 74 70 61 63 6b | 2e 50 69 63 6b 75 70 73 |'Botpack|.Pickups|
|00001730| 2e 41 6d 6d 6f 50 69 63 | 6b 27 2c 2c 32 2e 30 29 |.AmmoPic|k',,2.0)|
|00001740| 3b 0d 0a 09 09 09 09 4d | 61 73 74 65 72 2e 54 54 |;......M|aster.TT|
|00001750| 61 72 67 65 74 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |arget = |None;...|
|00001760| 09 09 09 4d 61 73 74 65 | 72 2e 62 54 54 61 72 67 |...Maste|r.bTTarg|
|00001770| 65 74 4f 75 74 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |etOut = |false;..|
|00001780| 09 09 09 09 69 66 20 28 | 20 4f 74 68 65 72 2e 49 |....if (| Other.I|
|00001790| 73 41 28 27 50 6c 61 79 | 65 72 50 61 77 6e 27 29 |sA('Play|erPawn')|
|000017a0| 20 29 0d 0a 09 09 09 09 | 09 50 6c 61 79 65 72 50 | )......|.PlayerP|
|000017b0| 61 77 6e 28 4f 74 68 65 | 72 29 2e 43 6c 69 65 6e |awn(Othe|r).Clien|
|000017c0| 74 57 65 61 70 6f 6e 45 | 76 65 6e 74 28 27 54 6f |tWeaponE|vent('To|
|000017d0| 75 63 68 54 61 72 67 65 | 74 27 29 3b 0d 0a 09 09 |uchTarge|t');....|
|000017e0| 09 09 64 65 73 74 72 6f | 79 28 29 3b 0d 0a 09 09 |..destro|y();....|
|000017f0| 09 7d 0d 0a 09 09 09 72 | 65 74 75 72 6e 3b 0d 0a |.}.....r|eturn;..|
|00001800| 09 09 7d 0d 0a 09 09 69 | 66 20 28 20 62 4d 61 73 |..}....i|f ( bMas|
|00001810| 74 65 72 54 6f 75 63 68 | 20 29 20 0d 0a 09 09 09 |terTouch| ) .....|
|00001820| 72 65 74 75 72 6e 3b 0d | 0a 09 09 4e 65 77 50 6f |return;.|...NewPo|
|00001830| 73 20 3d 20 4f 74 68 65 | 72 2e 4c 6f 63 61 74 69 |s = Othe|r.Locati|
|00001840| 6f 6e 3b 0d 0a 09 09 4e | 65 77 50 6f 73 2e 5a 20 |on;....N|ewPos.Z |
|00001850| 3d 20 4c 6f 63 61 74 69 | 6f 6e 2e 5a 3b 0d 0a 09 |= Locati|on.Z;...|
|00001860| 09 53 65 74 4c 6f 63 61 | 74 69 6f 6e 28 4e 65 77 |.SetLoca|tion(New|
|00001870| 50 6f 73 29 3b 0d 0a 09 | 09 56 65 6c 6f 63 69 74 |Pos);...|.Velocit|
|00001880| 79 20 3d 20 76 65 63 74 | 28 30 2c 30 2c 30 29 3b |y = vect|(0,0,0);|
|00001890| 0d 0a 09 09 69 66 20 28 | 20 4c 65 76 65 6c 2e 47 |....if (| Level.G|
|000018a0| 61 6d 65 2e 62 54 65 61 | 6d 47 61 6d 65 0d 0a 09 |ame.bTea|mGame...|
|000018b0| 09 09 26 26 20 28 49 6e | 73 74 69 67 61 74 6f 72 |..&& (In|stigator|
|000018c0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|000018d0| 6f 6e 49 6e 66 6f 2e 54 | 65 61 6d 20 3d 3d 20 50 |onInfo.T|eam == P|
|000018e0| 61 77 6e 28 4f 74 68 65 | 72 29 2e 50 6c 61 79 65 |awn(Othe|r).Playe|
|000018f0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00001900| 2e 54 65 61 6d 29 20 29 | 0d 0a 09 09 09 72 65 74 |.Team) )|.....ret|
|00001910| 75 72 6e 3b 0d 0a 0d 0a | 09 09 69 66 20 28 20 49 |urn;....|..if ( I|
|00001920| 6e 73 74 69 67 61 74 6f | 72 2e 49 73 41 28 27 42 |nstigato|r.IsA('B|
|00001930| 6f 74 27 29 20 29 0d 0a | 09 09 09 4d 61 73 74 65 |ot') )..|...Maste|
|00001940| 72 2e 54 72 61 6e 73 6c | 6f 63 61 74 65 28 29 3b |r.Transl|ocate();|
|00001950| 0d 0a 09 7d 0d 0a 0d 0a | 09 73 69 6d 75 6c 61 74 |...}....|.simulat|
|00001960| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 48 69 74 57 |ed funct|ion HitW|
|00001970| 61 6c 6c 20 28 76 65 63 | 74 6f 72 20 48 69 74 4e |all (vec|tor HitN|
|00001980| 6f 72 6d 61 6c 2c 20 61 | 63 74 6f 72 20 57 61 6c |ormal, a|ctor Wal|
|00001990| 6c 29 0d 0a 09 7b 0d 0a | 09 09 69 66 20 28 20 62 |l)...{..|..if ( b|
|000019a0| 41 6c 72 65 61 64 79 48 | 69 74 20 29 0d 0a 09 09 |AlreadyH|it )....|
|000019b0| 7b 0d 0a 09 09 09 62 42 | 6f 75 6e 63 65 20 3d 20 |{.....bB|ounce = |
|000019c0| 66 61 6c 73 65 3b 0d 0a | 09 09 09 72 65 74 75 72 |false;..|...retur|
|000019d0| 6e 3b 0d 0a 09 09 7d 0d | 0a 09 09 62 41 6c 72 65 |n;....}.|...bAlre|
|000019e0| 61 64 79 48 69 74 20 3d | 20 28 20 48 69 74 4e 6f |adyHit =| ( HitNo|
|000019f0| 72 6d 61 6c 2e 5a 20 3e | 20 30 2e 37 20 29 3b 0d |rmal.Z >| 0.7 );.|
|00001a00| 0a 09 09 50 6c 61 79 53 | 6f 75 6e 64 28 49 6d 70 |...PlayS|ound(Imp|
|00001a10| 61 63 74 53 6f 75 6e 64 | 2c 20 53 4c 4f 54 5f 4d |actSound|, SLOT_M|
|00001a20| 69 73 63 29 3b 09 20 20 | 2f 2f 20 68 69 74 20 77 |isc);. |// hit w|
|00001a30| 61 6c 6c 20 73 6f 75 6e | 64 0d 0a 09 09 56 65 6c |all soun|d....Vel|
|00001a40| 6f 63 69 74 79 20 3d 20 | 30 2e 33 2a 28 28 20 56 |ocity = |0.3*(( V|
|00001a50| 65 6c 6f 63 69 74 79 20 | 64 6f 74 20 48 69 74 4e |elocity |dot HitN|
|00001a60| 6f 72 6d 61 6c 20 29 20 | 2a 20 48 69 74 4e 6f 72 |ormal ) |* HitNor|
|00001a70| 6d 61 6c 20 2a 20 28 2d | 32 2e 30 29 20 2b 20 56 |mal * (-|2.0) + V|
|00001a80| 65 6c 6f 63 69 74 79 29 | 3b 20 20 20 2f 2f 20 52 |elocity)|; // R|
|00001a90| 65 66 6c 65 63 74 20 6f | 66 66 20 57 61 6c 6c 20 |eflect o|ff Wall |
|00001aa0| 77 2f 64 61 6d 70 69 6e | 67 0d 0a 09 09 73 70 65 |w/dampin|g....spe|
|00001ab0| 65 64 20 3d 20 56 53 69 | 7a 65 28 56 65 6c 6f 63 |ed = VSi|ze(Veloc|
|00001ac0| 69 74 79 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 73 69 |ity);...|}.....si|
|00001ad0| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|00001ae0| 20 54 69 63 6b 28 66 6c | 6f 61 74 20 44 65 6c 74 | Tick(fl|oat Delt|
|00001af0| 61 54 69 6d 65 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |aTime)..|.{....if|
|00001b00| 20 28 20 4c 65 76 65 6c | 2e 62 48 69 67 68 44 65 | ( Level|.bHighDe|
|00001b10| 74 61 69 6c 4d 6f 64 65 | 20 26 26 20 28 53 68 61 |tailMode| && (Sha|
|00001b20| 64 6f 77 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |dow == N|one)....|
|00001b30| 09 26 26 20 28 50 6c 61 | 79 65 72 50 61 77 6e 28 |.&& (Pla|yerPawn(|
|00001b40| 49 6e 73 74 69 67 61 74 | 6f 72 29 20 21 3d 20 4e |Instigat|or) != N|
|00001b50| 6f 6e 65 29 20 26 26 20 | 28 56 69 65 77 50 6f 72 |one) && |(ViewPor|
|00001b60| 74 28 50 6c 61 79 65 72 | 50 61 77 6e 28 49 6e 73 |t(Player|Pawn(Ins|
|00001b70| 74 69 67 61 74 6f 72 29 | 2e 50 6c 61 79 65 72 29 |tigator)|.Player)|
|00001b80| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 09 | != None|) ).....|
|00001b90| 53 68 61 64 6f 77 20 3d | 20 73 70 61 77 6e 28 63 |Shadow =| spawn(c|
|00001ba0| 6c 61 73 73 27 54 61 72 | 67 65 74 53 68 61 64 6f |lass'Tar|getShado|
|00001bb0| 77 27 2c 73 65 6c 66 2c | 2c 2c 72 6f 74 28 31 36 |w',self,|,,rot(16|
|00001bc0| 33 38 34 2c 30 2c 30 29 | 29 3b 0d 0a 0d 0a 09 09 |384,0,0)|);......|
|00001bd0| 69 66 20 28 20 52 6f 6c | 65 20 21 3d 20 52 4f 4c |if ( Rol|e != ROL|
|00001be0| 45 5f 41 75 74 68 6f 72 | 69 74 79 20 29 0d 0a 09 |E_Author|ity )...|
|00001bf0| 09 7b 0d 0a 09 09 09 44 | 69 73 61 62 6c 65 28 27 |.{.....D|isable('|
|00001c00| 54 69 63 6b 27 29 3b 0d | 0a 09 09 09 72 65 74 75 |Tick');.|....retu|
|00001c10| 72 6e 3b 0d 0a 09 09 7d | 0d 0a 09 09 69 66 20 28 |rn;....}|....if (|
|00001c20| 20 28 44 65 73 69 72 65 | 64 54 61 72 67 65 74 20 | (Desire|dTarget |
|00001c30| 3d 3d 20 4e 6f 6e 65 29 | 20 7c 7c 20 28 4d 61 73 |== None)| || (Mas|
|00001c40| 74 65 72 20 3d 3d 20 4e | 6f 6e 65 29 20 29 0d 0a |ter == N|one) )..|
|00001c50| 09 09 7b 0d 0a 09 09 09 | 44 69 73 61 62 6c 65 28 |..{.....|Disable(|
|00001c60| 27 54 69 63 6b 27 29 3b | 0d 0a 09 09 09 69 66 20 |'Tick');|.....if |
|00001c70| 28 20 4d 61 73 74 65 72 | 2e 4f 77 6e 65 72 2e 49 |( Master|.Owner.I|
|00001c80| 73 41 28 27 42 6f 74 27 | 29 20 26 26 20 28 50 61 |sA('Bot'|) && (Pa|
|00001c90| 77 6e 28 4d 61 73 74 65 | 72 2e 4f 77 6e 65 72 29 |wn(Maste|r.Owner)|
|00001ca0| 2e 57 65 61 70 6f 6e 20 | 3d 3d 20 4d 61 73 74 65 |.Weapon |== Maste|
|00001cb0| 72 29 20 29 0d 0a 09 09 | 09 09 42 6f 74 28 4d 61 |r) )....|..Bot(Ma|
|00001cc0| 73 74 65 72 2e 4f 77 6e | 65 72 29 2e 53 77 69 74 |ster.Own|er).Swit|
|00001cd0| 63 68 54 6f 42 65 73 74 | 57 65 61 70 6f 6e 28 29 |chToBest|Weapon()|
|00001ce0| 3b 0d 0a 09 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |;.....re|turn;...|
|00001cf0| 09 7d 0d 0a 0d 0a 09 09 | 69 66 20 28 20 28 41 62 |.}......|if ( (Ab|
|00001d00| 73 28 4c 6f 63 61 74 69 | 6f 6e 2e 58 20 2d 20 44 |s(Locati|on.X - D|
|00001d10| 65 73 69 72 65 64 54 61 | 72 67 65 74 2e 4c 6f 63 |esiredTa|rget.Loc|
|00001d20| 61 74 69 6f 6e 2e 58 29 | 20 3c 20 4d 61 73 74 65 |ation.X)| < Maste|
|00001d30| 72 2e 4f 77 6e 65 72 2e | 43 6f 6c 6c 69 73 69 6f |r.Owner.|Collisio|
|00001d40| 6e 52 61 64 69 75 73 29 | 0d 0a 09 09 09 26 26 20 |nRadius)|.....&& |
|00001d50| 28 41 62 73 28 4c 6f 63 | 61 74 69 6f 6e 2e 59 20 |(Abs(Loc|ation.Y |
|00001d60| 2d 20 44 65 73 69 72 65 | 64 54 61 72 67 65 74 2e |- Desire|dTarget.|
|00001d70| 4c 6f 63 61 74 69 6f 6e | 2e 59 29 20 3c 20 4d 61 |Location|.Y) < Ma|
|00001d80| 73 74 65 72 2e 4f 77 6e | 65 72 2e 43 6f 6c 6c 69 |ster.Own|er.Colli|
|00001d90| 73 69 6f 6e 52 61 64 69 | 75 73 29 20 29 0d 0a 09 |sionRadi|us) )...|
|00001da0| 09 7b 0d 0a 09 09 09 69 | 66 20 28 20 21 46 61 73 |.{.....i|f ( !Fas|
|00001db0| 74 54 72 61 63 65 28 44 | 65 73 69 72 65 64 54 61 |tTrace(D|esiredTa|
|00001dc0| 72 67 65 74 2e 4c 6f 63 | 61 74 69 6f 6e 2c 20 4c |rget.Loc|ation, L|
|00001dd0| 6f 63 61 74 69 6f 6e 29 | 20 29 0d 0a 09 09 09 09 |ocation)| )......|
|00001de0| 72 65 74 75 72 6e 3b 09 | 0d 0a 0d 0a 09 09 09 50 |return;.|.......P|
|00001df0| 61 77 6e 28 4d 61 73 74 | 65 72 2e 4f 77 6e 65 72 |awn(Mast|er.Owner|
|00001e00| 29 2e 53 74 6f 70 57 61 | 69 74 69 6e 67 28 29 3b |).StopWa|iting();|
|00001e10| 0d 0a 09 09 09 4d 61 73 | 74 65 72 2e 54 72 61 6e |.....Mas|ter.Tran|
|00001e20| 73 6c 6f 63 61 74 65 28 | 29 3b 0d 0a 09 09 09 69 |slocate(|);.....i|
|00001e30| 66 20 28 20 4d 61 73 74 | 65 72 2e 4f 77 6e 65 72 |f ( Mast|er.Owner|
|00001e40| 2e 49 73 41 28 27 42 6f | 74 27 29 20 26 26 20 28 |.IsA('Bo|t') && (|
|00001e50| 50 61 77 6e 28 4d 61 73 | 74 65 72 2e 4f 77 6e 65 |Pawn(Mas|ter.Owne|
|00001e60| 72 29 2e 57 65 61 70 6f | 6e 20 3d 3d 20 4d 61 73 |r).Weapo|n == Mas|
|00001e70| 74 65 72 29 20 29 0d 0a | 09 09 09 09 42 6f 74 28 |ter) )..|....Bot(|
|00001e80| 4d 61 73 74 65 72 2e 4f | 77 6e 65 72 29 2e 53 77 |Master.O|wner).Sw|
|00001e90| 69 74 63 68 54 6f 42 65 | 73 74 57 65 61 70 6f 6e |itchToBe|stWeapon|
|00001ea0| 28 29 3b 0d 0a 09 09 09 | 44 69 73 61 62 6c 65 28 |();.....|Disable(|
|00001eb0| 27 54 69 63 6b 27 29 3b | 0d 0a 09 09 7d 0d 0a 09 |'Tick');|....}...|
|00001ec0| 7d 0d 0a 0d 0a 09 73 69 | 6d 75 6c 61 74 65 64 20 |}.....si|mulated |
|00001ed0| 66 75 6e 63 74 69 6f 6e | 20 42 65 67 69 6e 53 74 |function| BeginSt|
|00001ee0| 61 74 65 28 29 0d 0a 09 | 7b 0d 0a 09 09 53 70 61 |ate()...|{....Spa|
|00001ef0| 77 6e 54 69 6d 65 20 3d | 20 4c 65 76 65 6c 2e 54 |wnTime =| Level.T|
|00001f00| 69 6d 65 53 65 63 6f 6e | 64 73 3b 0d 0a 09 09 54 |imeSecon|ds;....T|
|00001f10| 77 65 65 6e 41 6e 69 6d | 28 27 4f 70 65 6e 27 2c |weenAnim|('Open',|
|00001f20| 20 30 2e 31 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 66 | 0.1);..|.}.....f|
|00001f30| 75 6e 63 74 69 6f 6e 20 | 45 6e 64 53 74 61 74 65 |unction |EndState|
|00001f40| 28 29 0d 0a 09 7b 0d 0a | 09 09 44 65 73 69 72 65 |()...{..|..Desire|
|00001f50| 64 54 61 72 67 65 74 20 | 3d 20 4e 6f 6e 65 3b 0d |dTarget |= None;.|
|00001f60| 0a 09 09 69 66 20 28 20 | 28 4d 61 73 74 65 72 20 |...if ( |(Master |
|00001f70| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 4d 61 73 |!= None)| && (Mas|
|00001f80| 74 65 72 2e 4f 77 6e 65 | 72 20 21 3d 20 4e 6f 6e |ter.Owne|r != Non|
|00001f90| 65 29 0d 0a 09 09 09 26 | 26 20 4d 61 73 74 65 72 |e).....&|& Master|
|00001fa0| 2e 4f 77 6e 65 72 2e 49 | 73 41 28 27 42 6f 74 27 |.Owner.I|sA('Bot'|
|00001fb0| 29 20 26 26 20 28 50 61 | 77 6e 28 4d 61 73 74 65 |) && (Pa|wn(Maste|
|00001fc0| 72 2e 4f 77 6e 65 72 29 | 2e 57 65 61 70 6f 6e 20 |r.Owner)|.Weapon |
|00001fd0| 3d 3d 20 4d 61 73 74 65 | 72 29 20 29 0d 0a 09 09 |== Maste|r) )....|
|00001fe0| 09 42 6f 74 28 4d 61 73 | 74 65 72 2e 4f 77 6e 65 |.Bot(Mas|ter.Owne|
|00001ff0| 72 29 2e 53 77 69 74 63 | 68 54 6f 42 65 73 74 57 |r).Switc|hToBestW|
|00002000| 65 61 70 6f 6e 28 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |eapon();|...}..}.|
|00002010| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+